package com.neusoft.springmvc.service.impl;

import org.springframework.stereotype.Service;

import com.neusoft.springmvc.po.User;
import com.neusoft.springmvc.service.HelloService;

@Service("helloService")
public class HelloServiceImpl implements HelloService {

	@Override
	public boolean login(User u) {
		if (u.getMobile().equals("11111") &u.getPassword().equals("11111")) {
			return true;
		}
		return false;
	}

}
